package P7.T05;

public class T05 {
    public static int money=0;
    public static Account acc=new Account();
    public static void main(String[] args) {
        SaveThread[] saveThreads=new SaveThread[20];
        for(int i=0;i<20;i++){
            saveThreads[i]=new SaveThread();
            saveThreads[i].setName("Person"+i);
            saveThreads[i].start();
        }
        FetchThread[] fetchThreads=new FetchThread[20];
        for (int i=0;i<20;i++){
            fetchThreads[i]=new FetchThread();
            fetchThreads[i].setName("fetchPerson"+i);
            fetchThreads[i].start();
        }
    }
}
